Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-558

compileSourceRoots in testCompile should be writable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.12.0
    • None

    Description

      In projects with Java and Kotlin sources, it should be possible to set the `compileSourceRoots` on the plugin level and not the project level. This way the Kotlin compiler can be configured to only consider Kotlin sources and the Java compiler can only consider Java sources.

      `compileSourceRoots` was already changed to writable in the `compile` goal. So I don't see any risks in also changing it for the `testCompile` goal.

       

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              lorenzsimon Lorenz Simon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: